/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdLayupMetalCaseMeta;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.List;

/**
 * 【请填写功能名称】业务对象 isfd_layup_metal_case_meta
 *
 * @author Lion Li
 * @date 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdLayupMetalCaseMeta.class, reverseConvertGenerate = false)
public class IsfdLayupMetalCaseMetaBo extends BaseEntity {

    /**
     * 对象存储主键
     */
    @NotNull(message = "对象存储主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 属性代码
     */
    @NotBlank(message = "属性代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String attributeCode;

    /**
     * Exx
     */
    @NotNull(message = "Exx不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double exx;

    /**
     * Eyy
     */
    @NotNull(message = "Eyy不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double eyy;

    /**
     * Gxy
     */
    @NotNull(message = "Gxy不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double gxy;

    /**
     * 厚度
     */
    @NotNull(message = "厚度不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double thickness;

    /**
     * 对应PSHELL编号
     */
    @NotBlank(message = "对应PSHELL编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pshellNumber;

    /**
     * 材料代码
     */
    @NotBlank(message = "材料代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String materialCode;

    /**
     * 元数据管理id
     */
    private String metadataManagementId;

    /**
     * 元数据管理ids，作为检索条件
     */
    private List<String> metadataManagementIds;
}
